/**
 * 
 */
package com.munoor.dalai.server.model.wrappers;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.munoor.dalai.server.model.Filter;

/**
 * @author Osho Ilamah
 * @since version 1.0 (27 March 2011)
 */
@XmlRootElement(name = "filter")
public class WrappedFilter {
	private Filter entity = null;

	public WrappedFilter() {
		entity = new Filter();
	}

	public WrappedFilter(Filter entity) {
		this.entity = entity;
	}

	@XmlElement
	public String getFilterName() {
		return entity.getFilterName();
	}

	public void setFilterName(String filterName) {
		entity.setFilterName(filterName);
	}

	@XmlElement
	public long getFilterId() {
		return entity.getFilterId();
	}

	public void setFilterId(long filterId) {
		entity.setFilterId(filterId);
	}

	@XmlElement
	public long getCategoryId() {
		return entity.getCategoryId();
	}

	public void setCategoryId(long categoryId) {
		entity.setCategoryId(categoryId);
	}

	@XmlElement
	public short getLevelId() {
		return entity.getLevelId();
	}

	public void setLevelId(short levelId) {
		entity.setLevelId(levelId);
	}

	@XmlElement
	public String getLocationId() {
		return entity.getLocationId();
	}

	public void setLocationId(String locationId) {
		entity.setLocationId(locationId);
	}

	@XmlElement
	public long getUserId() {
		return entity.getUserId();
	}

	public void setUserId(long userId) {
		entity.setUserId(userId);
	}

	@XmlElement
	public int getSalaryMax() {
		return entity.getSalaryMax();
	}

	public void setSalaryMax(int salaryMax) {
		entity.setSalaryMax(salaryMax);
	}

	@XmlElement
	public int getSalaryMin() {
		return entity.getSalaryMin();
	}

	public void setSalaryMin(int salaryMin) {
		entity.setSalaryMin(salaryMin);
	}

	@XmlElement
	public short getActive() {
		return entity.getActive();
	}

	public void setActive(short active) {
		entity.setActive(active);
	}

	public Filter unmarshall() {
		return entity;
	}
}
